package com.wgo.surveyModel.domain.server.ejb;
import java.util.Date;

import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.GenerationType;
import javax.persistence.GeneratedValue;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
//import javax.persistence.GeneratorType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.wgo.surveyModel.domain.common.*;
import com.wgo.surveyModel.domain.common.impl.*;

@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class SensorEjb extends SensorImpl
{
     	
    @Override	
	@Id
    @GeneratedValue(strategy=GenerationType.AUTO)
  	public Long getDbId() 
	{
		return super.getDbId();
	} 

	@Override
	public String getSerialNumber ()
	{
		return super.getSerialNumber();
	}

	@Override
	public Integer getProdYear ()
	{
		return super.getProdYear();
	}
  
}
